package com.example.demo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


/**
 * GP数据库配置
 *
 * @author yuanz
 */
@Configuration
public class GreenplumConfiguration {

    @Value("${spring.datasource.dynamic.datasource.gp.url}")
    public String url;

    @Value("${spring.datasource.dynamic.datasource.gp.username}")
    public String username;

    @Value("${spring.datasource.dynamic.datasource.gp.password}")
    public String password;

    @Value("${spring.datasource.dynamic.datasource.gp.driver-class-name}")
    public String driverClassName;

}
